/**
 * Copyright &copy; 2012-2016 <a href="https://istep.lczyfz.com">Istep</a> All rights reserved.
 */
package com.lczyfz.istep.modules.teach.entity;

import com.lczyfz.istep.modules.cms.entity.Category;
import org.hibernate.validator.constraints.Length;
import com.lczyfz.istep.modules.sys.entity.User;
import javax.validation.constraints.NotNull;

import com.lczyfz.istep.common.persistence.DataEntity;

/**
 * 班级管理Entity
 * @author cqh
 * @version 2017-01-12
 */
public class TeachClass extends DataEntity<TeachClass> {
	
	private static final long serialVersionUID = 1L;
	private String className;		// 班级名称

//	AlisaYe
	private String userId;		// 班主任id
	private String remarks;		//备注



	private String oldClassName;//原班级名称

	private String teacherName;//对应班主任名称


	public TeachClass() {
		super();
	}

	public TeachClass(String id){
		super(id);
	}


////	@AlisaYe
//	public TeachClass(String userId) {
//		this();
//		this.userId = userId;
//	}

	//	@Length(min=1, max=64, message="班级名称长度必须介于 1 和 64 之间")
	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}
	
//	@NotNull(message="班主任名称不能为空")AlisaYe
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}

//	Alisa Ye
	@Override
	public String getRemarks() {
		return remarks;
	}
	@Override
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getOldClassName() {
		return oldClassName;
	}

	public void setOldClassName() {
		this.oldClassName = oldClassName;
	}

	public String getTeacherName() {
		return teacherName;
	}

	public void setTeacherName(String teacherName) {
		this.teacherName = teacherName;
	}


}